package com.fm.base.util;

import com.fm.base.annotation.ThreadSafe;

import java.util.List;

@ThreadSafe
public interface Counter<T> {
	int add(T element);
	List<T> get(int count);
	List<T> getGreat(int count);
	int delete(T element);
}
